/*
 * Copyright (c) 2011. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
 * Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan.
 * Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna.
 * Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagittis ligula eget metus.
 * Vestibulum commodo. Ut rhoncus gravida arcu.
 */

package cl.dkns.yapal.core.db;

import cl.dkns.yapal.core.db.mapping.Category;
import cl.dkns.yapal.core.db.mapping.Product;
import cl.dkns.yapal.core.db.mapping.User;


public interface DatabaseAccess {

    public void addProduct(Product product) throws DatabaseException;

    public void addCategory(Category category) throws DatabaseException;

    public void addUser(User user) throws DatabaseException;

}
